/**
 * The contents of this file are subject to the OpenMRS Public License
 * Version 1.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://license.openmrs.org
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 *
 * Copyright (C) OpenMRS, LLC.  All Rights Reserved.
 */
package org.openmrs.module.datalogging.web.model;

import org.openmrs.BaseOpenmrsMetadata;
import org.openmrs.module.datalogging.enums.EventType;

/**
 *
 */
public class EventModel extends BaseOpenmrsMetadata {
	
	private Integer eventId;
	
	private String description;
	
	private EventType eventType;
	
	private String location;
	
	private String encounterType;
	
	private String valueCoded;
	
	private String concept;
	
	private String logic;
	
	private String variable;
	
	private Boolean active;
	
	/**
	 * @see org.openmrs.OpenmrsObject#getId()
	 */
	@Override
	public Integer getId() {
		return getEventId();
	}
	
	/**
	 * @see org.openmrs.OpenmrsObject#setId(java.lang.Integer)
	 */
	@Override
	public void setId(Integer id) {
		setEventId(id);
	}
	
	/**
	 * Return the value of the eventId
	 * 
	 * @return the eventId
	 */
	public Integer getEventId() {
		return eventId;
	}
	
	/**
	 * Set the eventId with the eventId value
	 * 
	 * @param eventId the eventId to set
	 */
	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}
	
	/**
	 * Return the value of the triggeringEvent
	 * 
	 * @return the triggeringEvent
	 */
	public EventType getEventType() {
		return eventType;
	}
	
	/**
	 * Set the triggeringEvent with the triggeringEvent value
	 * 
	 * @param eventType the event type to set
	 */
	public void setEventType(EventType eventType) {
		this.eventType = eventType;
	}
	
	/**
	 * Return the value of the location
	 * 
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}
	
	/**
	 * Set the location with the location value
	 * 
	 * @param location the location to set
	 */
	public void setLocation(String location) {
		this.location = location;
	}
	
	/**
	 * Return the value of the encounterType
	 * 
	 * @return the encounterType
	 */
	public String getEncounterType() {
		return encounterType;
	}
	
	/**
	 * Set the encounterType with the encounterType value
	 * 
	 * @param encounterType the encounterType to set
	 */
	public void setEncounterType(String encounterType) {
		this.encounterType = encounterType;
	}
	
	/**
	 * Return the value of the valueCoded
	 * 
	 * @return the valueCoded
	 */
	public String getValueCoded() {
		return valueCoded;
	}
	
	/**
	 * Set the valueCoded with the valueCoded value
	 * 
	 * @param valueCoded the valueCoded to set
	 */
	public void setValueCoded(String valueCoded) {
		this.valueCoded = valueCoded;
	}
	
	/**
	 * Return the value of the concept
	 * 
	 * @return the concept
	 */
	public String getConcept() {
		return concept;
	}
	
	/**
	 * Set the concept with the concept value
	 * 
	 * @param concept the concept to set
	 */
	public void setConcept(String concept) {
		this.concept = concept;
	}
	
	/**
	 * Return the value of the logic
	 * 
	 * @return the logic
	 */
	public String getLogic() {
		return logic;
	}
	
	/**
	 * Set the logic with the logic value
	 * 
	 * @param logic the logic to set
	 */
	public void setLogic(String logic) {
		this.logic = logic;
	}
	
	/**
	 * Return the value of the description
	 * 
	 * @return the description
	 */
	@Override
	public String getDescription() {
		return description;
	}
	
	/**
	 * Set the description with the description value
	 * 
	 * @param description the description to set
	 */
	@Override
	public void setDescription(String description) {
		this.description = description;
	}
	
	/**
	 * Return the value of the variable
	 * 
	 * @return the variable
	 */
	public String getVariable() {
		return variable;
	}
	
	/**
	 * Set the variable with the variable value
	 * 
	 * @param variable the variable to set
	 */
	public void setVariable(String variable) {
		this.variable = variable;
	}
	
	/**
	 * Return the value of the active
	 * 
	 * @return the active
	 */
	public Boolean getActive() {
		return active;
	}
	
	/**
	 * Set the active with the active value
	 * 
	 * @param active the active to set
	 */
	public void setActive(Boolean active) {
		this.active = active;
	}
}
